package com.csun.cmny.provider.model.domain;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "cn_dmc_csun_camera_alert_video")
public class DmcCsunCameraAlertVideo {

    /**
     * 报警Id
     */
    @Id
    @Column(name = "alert_id")
    private Long alertId;

    /**
     * 报警视频名称-设备编号+时间戳
     */
    @Column(name = "video_file_name")
    private String videoFileName;

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 设备编号
     */
    @Column(name = "device_no")
    private String deviceNo;

    /**
     * 创建时间
     */
    @Column(name = "created_time")
    private Date createdTime;
}